# -*- coding: utf-8 -*-
import requests

headers = {
    "loginType": "BASIC",
    "lang": "zh_CN",
    "x-signature": "version=2,channel=02101500,nonce=1757918216581,sign=bJe9lh4iScKIaWKRxZDYkZqY8OSdmOsaJ+aWwa3fzUdlmj3bncFZqc0K8Ln1acOXRnJPbjmEbisCJwLb4uFozNdKXt4CWBv/uGZniOxtI+SNCXDrIC2xpKHy6kOvSK9OzAjl5Cq8A8mn/qgfVTR1iC5qRxZwdfgWhsnkDc9PZzLnp54Wov9xUfa81PVVa3E88bafaNuGei0xzYX75lPUH2Wje9zTCUtrdgyUj1XDAH8klZe9jhPACKjI8NKPj417ibT+fYEEC4gbCFkdyj8ec6vh4ApKqw5q/X6PL4kLGtLNE9vIp5xnxKCB7pHWJ2AgQ47tKMpktwtQW/Jo0hNTRQ==",
    "X-Tingyun-Id": "4Nl_NnGbjwY;c=2;r=1660230178;",
    "X-Tingyun": "c=A|-cBKeDjce4U;",
    "Host": "bff.starbucks.com.cn",
    "User-Agent": "com.starbucks.cn/10.15.0",
    "x-bs-device-id": "eVqxKjlDn4DgOqpJlYQsz877bifACcEjzVRDKu09gCbWtCNaSb7jbHI71yvaKlpDqxjFX7Pt_rsocmlGJ3jnatIq2ZpT0NdJz7evffEBN2gLOwAa-EL0tq2EzrU0eNRyKfK0Ncb82zPt4FuqU1dXAyeRcvyrB9T5",
    "X-XHPAcPXq-g": "IIusQ20a9dHThJeIhbZ_UQa2jz7QACmzeN3y55BBDCDzEjOG5rcIDUmyBPh_gaoajbfFxnZFTYVhZ5I1dNENW8oV22yupdwQD0TphhHWHvfGtF7Ezeu0FZvkIsi-hV8F_CU9Ha6r8rCxcoXwTsJN0_Bxcx8xFPgjQ9gWoOAflVjVE_fDLIO9slLN1-Xzc8IHdau3Ts7bDu3mSdjXlkTPNGV-FIfqUvMSVKu_UJeNqqFADSmX6q59XsNI9P1mE6nfIDUWXY17egSEWKyy1TzVK-JT1ljFaWWPG45rXWcWMxKBcSC9sC6iiPrNVk1bz7w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CHR_FhRMNJ8EeTQMyz5Xafxo_pcJ_fSLIWZi9U=J3g4J22CDgElXs4G9whU6O6e_MoEQrsbCuIyN76B4Bw3UnqjQQcYWmzez3EogOa0S1bZ=lWWkJ8PCFDvOZFYy-SUvxX592wT9ESU=OGh5Tc2G6i-6RUhKX2IiCBxq2ZROq=PKVRFfATtIyUL0Qfiq5RvW-EgK93AkEgv3UBsH72bVetvLq=P5Lokwg=xh2gG4_TW_IriLukHof_uapmGRKnJz87pxc_ti=REBB9xvrlT7ZMah0eXswsLTD6u41TBhUikwrOsuEIbw0RXPCo8tI_gK5T-n1v9nR9x3kI1sJCwZH3NowDFL8-hXBojoRGkRqkQLav0Kmbpa7RgHY_SapVPAsSoPoqG3PSWrtH3BDaNVERNHolm2tIUtPVzGK8Dgk2mzwZD95FQp3IB98AmTYnvMzuAzHyrey_=QgH9frnaIE_RDpIG2epHzkFp-slHgpBKHqYBU8nqYez-aJm2hAoUYbxNbPro2HZEBeky=asSM9RXTA_==U0wKZeo4OwyRmkSkxtfmGhc=sIPCxOoB9xIju-LW7Dk-J=HD_p6lZVSxjaCSMwww6p_ttpsP3jjv_XN934gjUH0GqTLjnwwEBm4Y7LqBRSwR0Zx9SM18b_yfT=giFIp1WBUGzTn3vc0_Tz_h9PsYoi1z=ggg6IxHxQS6sy",
    "X-XHPAcPXq-b": "l5vpw3",
    "X-XHPAcPXq-z": "q",
    "x-phone-type": "ANDROID",
    "x-app-version": "10.15.0",
    "x-device-id": "fd478b316c854ba090bc61801b0ea452",
    "x-language-type": "zh_CN",
    "Authorization": "Bearer"
}
url = "https://bff.starbucks.com.cn/app-bff-api/login"
data = {
    "body": "+W/GJnXjg12O/dhIOskzTynjjGzOQ8pegHVWTp/qZe/OUl+ZjbNuL7lyfKrSqa8yzJKhW5eiZG/I\nmDjFVLPPMMio6CXvayjLMOQvMX2x3+IJpX8ugWgmxVz5LxjInhBxgyY8d4xo91ooQ48UmFsBNdXR\nMIAA2gfZKtooWD1YnYNgpPjU+g31uO8jNZ3g0JNvvEnnkSZm19F+LDwcHEdsyP1ohHEgyrOVRe/G\nwnzEppjxVfwfyGaaXvL5W1CjyQNe6UiArdR5Vc3AdUzCz903+WR8G1vnA4qA6gXpnK/SU8MZi893\n2Wz4Bw7O4QonEK1VqJHAply0UwM122r4AYslJPhr3F9oIHIcsh6nJZSIqzdwdOEBRwZobncgXflu\nRBhKjrxj+Q+HibU0ThdYHXK5VSqofGBlP2By7G2U+SDVjaQOxZT/PkfU/lxayLUdwhsEWXEN+oH7\nebgtWvTX2ODQbP3XPFYd4hLoaASxY0ccI7FdUtoFmwogNmb+aqsxez8Ua5+B2TyG1zTjq1UCnNt6\nQRIGKfwftnUuExUv3/V908IaBJ4YIOVpg0WvYdqmvuw66uiiN/gHKUXevbLay51eNb/b1GubA2fm\n34i7n4UL58tvmARnvfIdrfM21mqCzP8jamNcTt3XcZkPf0YfEam6yWOihsevvUXw1FWt6foLtNpN\n9K9hf4zgPStVqhSatFGbmKcj09CeOCjvb/ItmjJkLw==\n"
}
response = requests.post(url, headers=headers, data=data)

print(response.text)
print(response)